package com.guli.gulimall.order.to;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.guli.gulimall.order.entity.OrderEntity;
import com.guli.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单创建完成类
 */
@Data
public class OrderCreateTo {
    private OrderEntity order;
    private List<OrderItemEntity> orderItems;
    //订单应付价格
    private BigDecimal payPrice;
    //运费
    private BigDecimal fare;
}
